Logistics APIs
Create new shipping service
HTTP method | POST |
URI | https://api.rambase.net/logistics/shipping-services |
Supported formats | Xml, Html, Json (ex. $format=json) |
Successful HTTP status code | 201 |
API resource identifier | 3586, version 6 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
Name
Required/mandatory field
Name of shipping service
>{String}</Name>Status
Status of shipping service
Applicable domain values can be found here
Minimum value: 0
Maximum value: 1
Default value: 1
This field is optional.
>{Integer}</Status>Description
Description of shipping service
This field is optional.
>{String}</Description>Direction
Required/mandatory field
Direction of goods for this shipping service. Is goods arriving by this shipping service (INCOMING), or is departing (OUTGOING).
Applicable domain values can be found here
>{String}</Direction>Carrier
This field is optional.
>CarrierId
Carrier identifier
Minimum value: 1000
This field is optional.
>{Integer}</CarrierId>CarrierService
This field is optional.
>CarrierServiceId
Shipping service identifier from arhive for shipping services
Minimum value: 1
This field is optional.
>{Integer}</CarrierServiceId>Name
Required/mandatory field
Name of shipping service
": "{String}",Status
Status of shipping service
Applicable domain values can be found here
Minimum value: 0
Maximum value: 1
Default value: 1
This field is optional.
": "{Integer}",Description
Description of shipping service
This field is optional.
": "{String}",Direction
Required/mandatory field
Direction of goods for this shipping service. Is goods arriving by this shipping service (INCOMING), or is departing (OUTGOING).
Applicable domain values can be found here
": "{String}",Carrier
This field is optional.
": {CarrierId
Carrier identifier
Minimum value: 1000
This field is optional.
": "{Integer}"CarrierService
This field is optional.
": {CarrierServiceId
Shipping service identifier from arhive for shipping services
Minimum value: 1
This field is optional.
": "{Integer}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
ShippingServiceId
Shipping service identifier
>{Integer}</ShippingServiceId>Name
Name of shipping service
>{String}</Name>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>Description
Description of shipping service
>{String}</Description>Direction
Direction of goods for this shipping service. Is goods arriving by this shipping service (INCOMING), or is departing (OUTGOING).
Possible domain values can be found here
>{String}</Direction>IsAvailableExternal
True if shipping service should be visibile in external systems. An example of an external system might be a web site.
>{Boolean}</IsAvailableExternal>DepartingWaybillConsolidationTag
All shipping services with same consolidation tag will be consolidated when creating departing waybills for shipping advices, supplier returns and goods transfers. Example of consolidation tag might be "UPSNORDIC".
>{String}</DepartingWaybillConsolidationTag>PayersCustomerIdAtCarrier
Customers account ID at the carrier for the given shippingservice
>{String}</PayersCustomerIdAtCarrier>CarrierId
Carrier identifier
>{Integer}</CarrierId>CarrierLink
Carrier reference
>{String}</CarrierLink>CarrierServiceId
Shipping service identifier from arhive for shipping services
>{Integer}</CarrierServiceId>CarrierServiceLink
Service reference
>{String}</CarrierServiceLink>ExclusivelyForCustomer
Some shipping services are exclusively for one customer only.
>CustomerId
Customer identifier
>{Integer}</CustomerId>CustomerLink
Customer reference
>{String}</CustomerLink>ReturnShippingService
The shipping service that should be used when shipments that are shipped with this shipping service are returned. For instance you might not have to use an expensive express delivery for the return of products.
>ShippingServiceId
Shipping service identifier
>{Integer}</ShippingServiceId>Name
Name of shipping service
>{String}</Name>ReturnShppingServiceLink
Shipping service reference
>{String}</ReturnShppingServiceLink>TrackingNumberSeriesId
Tracking number series identifier
>{Integer}</TrackingNumberSeriesId>Type
Tells if this serial of tracking number is to be allocated to each package ("PACKAGE") or for at total shipment ("SHIPMENT")
Possible domain values can be found here
>{String}</Type>TrackingNumberLink
Tracking number series reference
>{String}</TrackingNumberLink>ShippingServiceId
Shipping service identifier
": "{Integer}",Status
Status of shipping service
Possible domain values can be found here
": "{Integer}",Name
Name of shipping service
": "{String}",CreatedAt
Date and time of creation
": "{Datetime}",Description
Description of shipping service
": "{String}",Direction
Direction of goods for this shipping service. Is goods arriving by this shipping service (INCOMING), or is departing (OUTGOING).
Possible domain values can be found here
": "{String}",IsAvailableExternal
True if shipping service should be visibile in external systems. An example of an external system might be a web site.
": "{Boolean}",DepartingWaybillConsolidationTag
All shipping services with same consolidation tag will be consolidated when creating departing waybills for shipping advices, supplier returns and goods transfers. Example of consolidation tag might be "UPSNORDIC".
": "{String}",PayersCustomerIdAtCarrier
Customers account ID at the carrier for the given shippingservice
": "{String}",CarrierId
Carrier identifier
": "{Integer}",CarrierLink
Carrier reference
": "{String}"CarrierServiceId
Shipping service identifier from arhive for shipping services
": "{Integer}",CarrierServiceLink
Service reference
": "{String}"ExclusivelyForCustomer
Some shipping services are exclusively for one customer only.
": {CustomerId
Customer identifier
": "{Integer}",CustomerLink
Customer reference
": "{String}"ReturnShippingService
The shipping service that should be used when shipments that are shipped with this shipping service are returned. For instance you might not have to use an expensive express delivery for the return of products.
": {ShippingServiceId
Shipping service identifier
": "{Integer}",Name
Name of shipping service
": "{String}",ReturnShppingServiceLink
Shipping service reference
": "{String}",TrackingNumberSeriesId
Tracking number series identifier
": "{Integer}",Type
Tells if this serial of tracking number is to be allocated to each package ("PACKAGE") or for at total shipment ("SHIPMENT")
Possible domain values can be found here
": "{String}",TrackingNumberLink
Tracking number series reference
": "{String}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 101079 HTTP 400 | Mismatch in size of revision parameters |
Error 101370 HTTP 400 | Cannot change carrier of an active (status 4) shipping service |
Error 101404 HTTP 400 | Cannot change direction of an active (status 4) shipping service |
Error 101528 HTTP 400 | Cannot change customer 0f an active (status 4) shipping Service |
Error 101310 HTTP 400 | Name of shipping service is required |
Error 101311 HTTP 400 | Direction of the shipping service is required |